package com.zcf.service;

import com.zcf.common.json.Body;
import com.zcf.common.result.ResultVo;
import com.zcf.pojo.Evaluate;
import com.zcf.vo.in.PageVo;

import org.springframework.web.multipart.MultipartFile;

import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 * 评论表 服务类
 * </p>
 *
 * @author zhouzhuang
 * @since 2018-12-11
 */
public interface EvaluateService extends IService<Evaluate> {
	/**
	 * 用户评论
	 */
	Body insertEvalua(Evaluate evaluate, MultipartFile[] file) throws Exception;

	/**
	 * 删除评论
	 */
	Boolean deleteEvalua(String evaluateId);

	/**
	 * 查询评论
	 */
	ResultVo queryEvalua(String userId, String dinId, PageVo pv);
	
	
	
}
